<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 17-6-13
 * Time: 下午6:39
 */

namespace console\models\app;

/**
 * Class OrderCert
 * @package console\models\app
 *
 * @property Order $order
 */
class OrderCert extends \console\models\app_tables\OrderCert
{
    /**
     * @return \yii\db\ActiveQuery
     */
    public function getOrder()
    {
        return $this->hasOne(Order::className(), ['o_id' => 'ct_oid']);
    }
}